//
//  AirPlaceInfo.h
//  EasyToo
//
//  Created by Jr Lan on 13-9-9.
//
//

#import <Foundation/Foundation.h>

@interface AirPlaceInfo : NSObject

@property (nonatomic, retain) NSMutableArray *airList;

//jsonResponse使用
- (id)initWithDictionary:(NSDictionary*)jsonDictionary;

@end



@interface AirInfo : NSObject

- (id)initWithDictionary:(NSDictionary*)jsonDictionary;

@property (nonatomic, retain) NSString *fltno;
@property (nonatomic, retain) NSString *sc;
@property (nonatomic, retain) NSString *scAirdrome;
@property (nonatomic, retain) NSString *ec;
@property (nonatomic, retain) NSString *ecAirdrome;
@property (nonatomic, retain) NSString *deptime;
@property (nonatomic, retain) NSString *arrtime;
@property (nonatomic, retain) NSString *planesty;
@property (nonatomic, retain) NSString *stopnum;
@property (nonatomic, retain) NSString *etkt;
@property (nonatomic, retain) NSString *meal;

@property (nonatomic, retain) NSMutableArray *classArray;

@end



@interface ClassInfo : NSObject

- (id)initWithDictionary:(NSDictionary*)jsonDictionary;

@property (nonatomic, retain) NSString *classname;
@property (nonatomic, retain) NSString *num;
@property (nonatomic, retain) NSString *saleprice;
@property (nonatomic, retain) NSString *classcode;
@property (nonatomic, retain) NSString *buildfee;
@property (nonatomic, retain) NSString *fuelfee;
@property (nonatomic, retain) NSString *isApply;
@property (nonatomic, retain) NSString *tgqInfo;
@property (nonatomic, retain) NSString *aheadDays;

@end



//对数据重新整理，以便显示
@interface OrderAirInfo : NSObject

@property (nonatomic, retain) NSString *fltno;
@property (nonatomic, retain) NSString *sc;
@property (nonatomic, retain) NSString *scAirdrome;
@property (nonatomic, retain) NSString *ec;
@property (nonatomic, retain) NSString *ecAirdrome;
@property (nonatomic, retain) NSString *deptime;
@property (nonatomic, retain) NSString *arrtime;
@property (nonatomic, retain) NSString *planesty;
@property (nonatomic, retain) NSString *stopnum;
@property (nonatomic, retain) NSString *etkt;
@property (nonatomic, retain) NSString *meal;

@property (nonatomic, retain) NSString *classname;
@property (nonatomic, retain) NSString *num;
@property (nonatomic, retain) NSString *saleprice;
@property (nonatomic, retain) NSString *classcode;
@property (nonatomic, retain) NSString *buildfee;
@property (nonatomic, retain) NSString *fuelfee;
@property (nonatomic, retain) NSString *isApply;
@property (nonatomic, retain) NSString *tgqInfo;
@property (nonatomic, retain) NSString *aheadDays;

@end
